package org.oop1.jicheng;

public class Dogs extends MyPet{
	String species;
	public Dogs(String name,int age,String color,String species){
		super(name,age,color);
		this.species = species;
	}
	public void lookDoor(){
		System.out.println("一只小"+this.species+"名字叫："+this.getName()+"，颜色是"+this.getColor()+"年龄是"+this.getAge()+"正在门口看门");
	}
}
